package com.fanjia.taobao.log.service;

import com.fanjia.taobao.log.entity.MyLog;
import org.aspectj.lang.ProceedingJoinPoint;

import java.util.List;

/**
 * 日志表(MyLog)表服务接口
 *
 * @author fanjia
 * @since 2021-04-23 08:31:15
 */
public interface MyLogService {

    //保存日志记录
    void save(String currentUsername, String browser, String ip, ProceedingJoinPoint joinPoint, MyLog log);

    //查询日志记录
    List<MyLog> query(MyLog myLog, int pageNum, int pageSize);

    int queryCount(MyLog myLog);

    //根据id删除日志
    int delete(int id);




}